<?php

set_include_path("system:templates");

require_once('Template.php');

$loggedIn = false;
$username = empty($_COOKIE['username']) ? '' : $_COOKIE['username'];
if ($username) {
	$loggedIn = true;
}

$pageContent = 'This is some content that will go on the home page.';

$tmpl = new Template();
$tmpl->loggedIn = $loggedIn;
$tmpl->pageContent = $pageContent;
$tmpl->pageContent = $tmpl->build('aboutUs.tmpl');
print $tmpl->build('page.tmpl');

?>
